package com.xh.jf_blog.bean;

import com.xh.jf_blog.common.annotation.CreatTime;
import com.xh.jf_blog.common.annotation.CreatUser;
import com.xh.jf_blog.common.annotation.UpdateTime;
import com.xh.jf_blog.common.annotation.UpdateUser;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Banner {
    private Integer id;
    private String name;
    private String href;
    private String target;
    private String src;
    private Integer orderNum;
    private String expiresStart;
    private String expiresEnd;
    private Integer status;
    @CreatTime
    private Date createTime;
    @CreatUser
    private Integer createUser;
    @UpdateTime
    private Date updateTime;
    @UpdateUser
    private Integer updateUser;

    private Date nowTime;

}
